package com.yc.supermarket.common;

/**
 * 初始化方法参数&公共参数配置
 */
public class Config {

    /** 初始化代码配置信息  **/
    //（必填）支付宝网关
    //沙箱环境网关：https://openapi-sandbox.dl.alipaydev.com/gateway.do
    public static final  String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

    //（必填）应用ID
    //请填写您的APPID:https://opendocs.alipay.com/common/02nebp
    public static final  String app_id = "9021000133638866";

    //（必填）应用私钥:https://opendocs.alipay.com/common/02kipk?pathHash=0d20b438
    //请填写您的应用私钥，例如：MIIEvQIBADANB ...
    public static final String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDh3YOoi41pyMAN+CsIhB3UGPx0+dFt5VrBAnjwffPiYLuThirUA8FjnTVg13uE6F2eoOzcuNlsiWjTUsV1+JI1HSsJolxXCRZYUPiQl0F722Mx34GvI61jjlyJS6wBVA35OG51GxcrK8qXiia/k6+OCtvYzBc3SWbjuM5VVqhAp5d48Hz+5FxhZ5hfLWWIKSIwG0fb2zuBfD3NLwRpTlreAhE+BbXUzxdOwJ5yQ15QOGCM6E4m3gEg184asWAstyQwPa0bPDGekWkU2EOZqRzzgnQ1ZfaWVEe60CloMnf1ipCGTuvuYgEklzKwfzCBkGxxbI0/QXLrJs88XalaF+b7AgMBAAECggEAFFZKvYlbQVQnHtrinRCwUuGxEaNQ3TFSm6BqXVUp+Y82NJFXF+ICrsKABOlCIPR/QYJB8ZnfUeuJecWxK+8m0wt+TY7F+7xAu9EGoJZN+iYF5361gZyXxygRYvdiVHhKDc+r+nVm/6cgxcZVuNhGbWbC5uFxkbPVRNnmEj8MRU3mgVO673ivqArTVO1WRDENjfXVazctLf9SXur7inN9jT5pgpElAlFrqG1EfoPspE2LEDqo2PdSjVwNApORTrn7c3dpXel4aUzNQ1PtnytaCEJeucYcjYJ1Qc4Ix+PCKTVEC8uErf+Qsx2/vZc6wL+f0uGKbgdOfT5YCcBU+PTXKQKBgQD0taRv2PkGHzMkfkeljcR/MJoDH2JoRJTmzvDJBbFwdAZ330NUelPLsM0YNliX8XYB5d/xrqwU65PUO+l+MIBHRJdNUfzL3uisJXTlE6//ufTmCMWzd5PTW6aVhuRpvRFiZLzEJXxW6qrvEcYj5EMWYXcZA2MTxLAXUMSuxT6eDQKBgQDsSUubLHFtOD/YlHjO4PUGTMuyRlvqT1HI0YAcLaTPqJXVoRsowztOqQ93UeTTHV+zvEI66F/t07cvEsV1V70fwOF35IrTV7+00SRsZshBufKYBBIKTjY0aiAjZIN1CdywRqNxxdmH7K7BBiXhiV+IMMiVREC9nQkJCpmZIcNfJwKBgQCck/VJk92TazdALIUPi2ylraV+RgCjku5r2RH8rmXg/Hx/Cx572WHwvYod6fg6EMhfYoUukYOOR0Zp0IQQuFv8PglJ8iH9GP5r1/O5+CTvTj9DSW2m7eZqoQQwPQW+Groa6TZXk1zCCJmjKw5LPO0oTujz2lT0+y9pW8bdxVvRqQKBgQDSKzux0W0unerERQPT1+p56RMCBm05U8ZGHnqaFctT3fswYrWao1T8WYnlMxWa5rS6VUh/xzOUgk2c9FBoWFtjhBfIoaMN6y4csi54sU+Mjs4GgxBc1EaIhqEBeiUnlFcVAC/fQgGEUnT6QfKt0pgDtoijpGsFfUmNHj2TJKH33wKBgHOikHSDLmZaMzKsuUzj7/0J3/p00gHkcxg1xTF1gqilREwa3PHqTkNNsjSUXzTSe6x3QfhrXOX3VibEzMM5w1SOF62OkM7+uoDqT7GLQ2JINXUicWZ9rPenQ3bp8/XWlgLzgjszrrlPhgcSUUB5isDXUcmWC0Ap7BIO7FPkgD8s";

    /********** RSA2公钥模式签名必用，公钥证书签名不传 ************/
    /**
     * 注：如果采用非证书模式，则无需赋值三个证书路径，改为赋值如下的支付宝公钥字符串即可
     **/
    //设置RSA2公钥方式：hhttps://opendocs.alipay.com/common/02kdnc?pathHash=fb0c752a

    //支付宝公钥
    //请填写您的支付宝公钥，例如：MIIBIjANBg...
    public static final String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmwJZJ1aPSKx/dozJQVTd/I9Qr6sZSlhpXSczdJrkRutdXBsWTn+4Ly5m7NoMGU4qTd6VGjTTPjgPd5b5P5kJtu1l9I499J3x3yvAMu1ZpenEQb49E6brwjFqxx+baz2kJ3+6UF9CgN+3tY8VVRZwhTruz9ybR4kbRm/wSw3fNk7jFySrGAYeqDy1Lc7zm1PQvHk/8chfp/0syEgwOpKpCx0tTrbA9r4KUZhQBeEZAMeULEZfBTCQfY6DXnO+2Yf4VBTgTC1TIwjbDxNMlFpTQ8o5LPa3WhdqforkbBIJmBLLDkgaG+akjlF29jeQ1p8i/OESR80XnnSPwzRMfhNVkwIDAQAB";

    //（必填）签名类型
    public static String sign_type = "RSA2";

    //（必填）编码格式
    public static String charset = "UTF-8";

    //请求格式，固定值json
    public static String format = "JSON";

    //调用的接口版本，固定为：1.0
    public static String version = "1.0";


    /** 代码中其他配置信息，根据各产品API公共参数选择性引用  **/
    //通过公共参数notify_url配置上传异步地址
    //异步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，商户外网可以post访问的异步地址（不支持本地测试），用于接收支付宝返回的支付结果
    public static String notify_url ="";

    //通过接口公共参数return_url配置上传同步地址
    //同步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，get访问，用于支付完成后前端页面同步跳转
    public static String return_url ="http://localhost:8080/supermarket/html/userOrder.html";

    //日志记录目录
    public static String log_path = "D:/log.txt";


}